package com.hckj.medical.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hckj.medical.entity.Instrument;
import com.hckj.medical.mapper.InstrumentMapper;
import com.hckj.medical.service.IInstrumentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hckj
 * @since 2023-11-25
 */
@Service
public class InstrumentServiceImpl extends ServiceImpl<InstrumentMapper, Instrument> implements IInstrumentService {
    @Autowired
    private InstrumentMapper instrumentMapper;
    @Override
    public List<Instrument> findAll() {
        return instrumentMapper.selectList(null);
    }
}
